package com.cn.jon.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cn.jon.mapper.StudentMapper;
import com.cn.jon.pojo.Student;
import com.cn.jon.service.StudentService;


@Service
public class StudentServiceImpl implements StudentService {
	@Autowired
	private StudentMapper studentMapper;

	public List<Student> findStudents() throws Exception {
		return studentMapper.findStudents();
	}

}
